< Prev(J) / Next(K) > / View :

Filename: /text/scalc/01/04060112.xhp

(bookmark: bm_id3151076)
programming; add-ins
shared libraries; programming
external DLL functions
functions; Office Calc add-in DLL
add-ins; for programming

プログラミング; アドイン
共有ライブラリ; プログラミング
外部 DLL 関数
関数; Office Calc アドイン DLL
アドイン; プログラミング用

Add-in for Programming in Office Calc
Office Calc のプログラミング用アドイン(hd_id3151076.1)

Warning Icon 警告マーク The method of extending Calc by Add-Ins that is described in the following is outdated. The interfaces are still valid and supported, to ensure compatibility with existing Add-Ins, but for programming new Add-Ins you should use the new API functions.
次に説明する、アドインを使用して Calc を機能強化する方法は古いものです。インタフェースは、既存のアドインとの互換性を確保するため、まだ有効であり、サポートもされていますが新しいアドインをプログラミングするには、新しい API 関数を使用する必要があります。(par_id3147001.220)

Office Calc can be expanded by Add-Ins, which are external programming modules providing additional functions for working with spreadsheets. These are listed in the Function Wizard in the Add-In category. If you would like to program an Add-In yourself, you can learn here which functions must be exported by the (in case of UNIX)shared library (/in case of UNIX)(in other case)external DLL(/in other case) so that the Add-In can be successfully attached.
Office Calc はアドインで拡張できます。アドインとは、表計算ドキュメント用の関数を追加する外部プログラミングモジュールのことです。アドインは 関数ウィザード の分類項目 アドイン に表示されます。自分でアドインを作成する場合、アドインを正常に組み込むためには、どの関数を(in case of UNIX)共有ライブラリ(/in case of UNIX)(in other case)外部 DLL(/in other case) からエクスポートする必要があるかを学ぶ必要があります。(par_id3150361.2)

Office searches the Add-in folder defined in the configuration for a suitable (in case of UNIX)shared library (/in case of UNIX)(in other case)DLL(/in other case). To be recognized by Office, the (in case of UNIX)shared library (/in case of UNIX)(in other case)DLL(/in other case) must have certain properties, as explained in the following. This information allows you to program your own Add-In for Function Wizard of Office Calc.
Office は、適切な (in case of UNIX)shared library (/in case of UNIX)(in other case)DLL(/in other case) の設定で定義されている Add-in フォルダを検索します。Office で認識されるように、(in case of UNIX)shared library (/in case of UNIX)(in other case)DLL(/in other case) は、次に説明されているとおり、一定のプロパティーを含む必要があります。この情報によって、Office Calc の 関数ウィザード 向けに独自のアドインをプログラムできます。(par_id3149211.3)

(section: addinconcept)

The Add-In Concept
アドインのコンセプト(hd_id3146981.4)

Each Add-In library provides several functions. Some functions are used for administrative purposes. You can choose almost any name for your own functions. However, they must also follow certain rules regarding parameter passing. The exact naming and calling conventions vary for different platforms.
各アドインライブラリには、複数の関数が用意されています。いくつかの関数は管理用です。自分で作成した関数には、規則に従った上で、任意の名前を付けることができます。しかし、パラメータの引き渡しに関する一定の規則には従う必要があります。名前の付け方やパラメータの引き渡しに関する正確な規則はプラットフォームごとに異なります。(par_id3156292.5)

(/section: addinconcept)

Functions of (in case of UNIX)Shared Library (/in case of UNIX)(in other case)AddIn DLL(/in other case)
(in case of UNIX)共有ライブラリ(/in case of UNIX)(in other case)アドイン DLL(/in other case) の関数(hd_id3152890.6)

At a minimum, the administrative functions GetFunctionCount and GetFunctionData must exist. Using these, the functions as well as parameter types and return values can be determined. As return values, the Double and String types are supported. As parameters, additionally the cell areas Double Array, String Array, and Cell Array are supported.
少なくとも、管理用の関数 GetFunctionCount と GetFunctionData が存在する必要があります。これらの関数を使用すると、関数、パラメータの種類、および戻り値を判断できます。戻り値には、Double と String を使用できます。パラメータには、Double と String 以外にも、Double 配列、String 配列、および セル配列 を使用できます。(par_id3148837.7)

Parameters are passed using references. Therefore, a change of these values is basically possible. However, this is not supported in Office Calc because it does not make sense within spreadsheets.
パラメータは参照として入力されます。そのため、基本的には値の変更が可能です。しかし、表計算プログラムにおいては適当でないため、Office Calc では値を変更することはできません。(par_id3148604.8)

Libraries can be reloaded during runtime and their contents can be analyzed by the administrative functions. For each function, information is available about count and type of parameters, internal and external function names and an administrative number.
ライブラリは実行時に読み込むことができます。このとき、管理用の関数を使用すると、ライブラリの内容を解析できます。どの関数でも、パラメータの数と種類、内部関数名と外部関数名、および管理番号についての情報が使用できます。(par_id3150112.9)

The functions are called synchronously and return their results immediately. Real time functions (asynchronous functions) are also possible; however, they are not explained in detail because of their complexity.
関数が同時に呼び出されすぐに結果を返します。リアルタイム関数も可能ですが、複雑なためここでは詳しく説明しません。(par_id3155269.10)

General information about the interface
インタフェース全般(hd_id3145077.11)

The maximum number of parameters in an Add-In function attached to Office Calc is 16: one return value and a maximum of 15 function input parameters.
Office Calc に組み込むことができるアドイン関数のパラメータは最大で 16 個です。そのうちの 1 個は戻り値用で、残りの 15 個は入力用です。(par_id3146776.12)

The data types are defined as follows:
データの種類は次のように定義されています。(par_id3149899.13)

Data types
データの種類(par_id3151302.14)

Definition
定義(par_id3143222.15)

CALLTYPE
CALLTYPE(par_id3149384.16)

Under Windows: FAR PASCAL (_far _pascal)
Windows の場合: FARPASCAL(_far_pascal)(par_id3146963.17)

Other: default (operating system specific default)
それ以外の場合: default (各オペレーティングシステムの標準) (par_id3153809.18)

USHORT
USHORT(par_id3154734.19)

2 Byte unsigned Integer
2 Byte unsigned Integer(par_id3155760.20)

DOUBLE
double(par_id3145320.21)

8 byte platform-dependent format
プラットフォームに応じた8バイトフォーマット(par_id3150956.22)

Paramtype
Paramtype(par_id3146097.23)

Platform-dependent like int
int と同様、プラットフォーム特有(par_id3150432.24)

PTR_DOUBLE =0 pointer to a double
double を指すポインタ PTR_DOUBLE =0(par_id3153955.25)

PTR_STRING =1 pointer to a zero-terminated string
ゼロ制限した文字列を指定するポインタ PTR_STRING =1(par_id3159262.26)

PTR_DOUBLE_ARR =2 pointer to a double array
Double 配列を指すポインタ PTR_DOUBLE_ARR =2(par_id3148747.27)

PTR_STRING_ARR =3 pointer to a string array
String 配列を指すポインタ PTR_STRING_ARR =3(par_id3147406.28)

PTR_CELL_ARR =4 pointer to a cell array
Cell 配列を指すポインタ PTR_CELL_ARR =4(par_id3151392.29)

NONE =5
NONE =5(par_id3153028.30)


(in case of UNIX)Shared Library (/in case of UNIX)(in other case)DLL(/in other case) functions
(in case of UNIX)共有ライブラリ(/in case of UNIX)(in other case)DLL(/in other case)関数(hd_id3156396.31)

Following you will find a description of those functions, which are called at the (in case of UNIX)Shared Library (/in case of UNIX)(in other case)external DLL(/in other case).
次に、(in case of UNIX)共有ライブラリ(/in case of UNIX)(in other case)外部 DLL(/in other case) で呼び出せる関数について説明します。(par_id3153019.32)

For all (in case of UNIX)Shared Library (/in case of UNIX)(in other case)DLL(/in other case) functions, the following applies:
すべての (in case of UNIX)共有ライブラリ(/in case of UNIX)(in other case)DLL(/in other case) 関数には、次の規則が適用されます。(par_id3150038.33)

void CALLTYPE fn(out, in1, in2, ...)
void CALLTYPE fn(out, in1, in2,...)(par_id3157876.34)

Output: Resulting value
アウトプット: 結果値(par_id3147616.35)

Input: Any number of types (double&, char*, double*, char**, Cell area), where the Cell area is an array of types double array, string array, or cell array.
入力:型 double&、char*、double*、char**、およびセル範囲 (数は任意)。セル範囲とは、倍精度、文字列、またはセルの配列のことです。(par_id3159119.36)

GetFunctionCount()
GetFunctionCount()(hd_id3150653.37)

Returns the number of functions without the management functions of the reference parameter. Each function has a unique number between 0 and nCount-1. This number will be needed for the GetFunctionData and GetParameterDescription functions later.
管理関数を含まない関数の数を参照パラメータに返します。どの関数にも 0 から nCount-1 までの番号が付いています。この番号は、後でGetFunctionData関数とGetParameterDescription関数に必要です。(par_id3152981.38)

Syntax
構文(par_id3150742.39)

void CALLTYPE GetFunctionCount(USHORT& nCount)
void CALLTYPE GetFunctionCount(USHORT& nCount)(par_id3148728.40)

Parameter
パラメータ(par_id3154677.41)

USHORT &nCount:
USHORT &nCount(par_id3146940.42)

Output: Reference to a variable, which is supposed to contain the number of Add-In functions. For example: If the Add-In provides 5 functions for Office Calc, then nCount=5.
アウトプット: アドイン関数の数が含まれている変数の参照。アドインが Office Calc に5つの関数を用意している場合は、nCount=5 になります。(par_id3149893.43)

GetFunctionData()
GetFunctionData()(hd_id3147476.44)

Determines all the important information about an Add-In function.
アドイン関数に関するすべての重要な情報を定義します。(par_id3154841.45)

Syntax
構文(par_id3148888.46)

void CALLTYPE GetFunctionData(USHORT& nNo, char* pFuncName, USHORT& nParamCount, Paramtype* peType, char* pInternalName)
void CALLTYPE GetFunctionData(USHORT& nNo, char* pFuncName, USHORT& nParamCount, Paramtype* peType, char* pInternalName)(par_id3148434.47)

Parameter
パラメータ(par_id3149253.48)

USHORT& nNo:
USHORT& nNo:(par_id3149686.49)

Input: Function number between 0 and nCount-1, inclusively.
インプット: 0 から nCount-1 までの関数番号。(par_id3149949.50)

char* pFuncName:
char* pFuncName:(par_id3149546.51)

Output: Function name as seen by the programmer, as it is named in the (in case of UNIX)Shared Library (/in case of UNIX)(in other case)DLL(/in other case). This name does not determine the name used in the Function Wizard.
出力: プログラマから見た関数名。つまり、(in case of UNIX)共有ライブラリ(/in case of UNIX)(in other case)DLL(/in other case) に指定されている関数名。この名前は必ずしも、関数ウィザード で表示される名前ではありません。(par_id3148579.52)

USHORT& nParamCount:
USHORT& nParamCount(par_id3153935.53)

Output: Number of parameters in AddIn function. This number must be greater than 0, because there is always a result value; the maximum value is 16.
アウトプット: アドイン関数のパラメータ数。結果値は常に最低1つあり、最高16まで可能なため、0 より大きい必要があります。(par_id3150142.54)

Paramtype* peType:
Paramtype* peType:(par_id3145143.55)

Output: Pointer to an array of exactly 16 variables of type Paramtype. The first nParamCount entries are filled with the suitable type of parameter.
アウトプット: Paramtype の変数が16個ある配列を指すポインタ。最初の nParamCount 項目は、該当するパラメータのタイプで埋められます。(par_id3148750.56)

char* pInternalName:
char* pInternalName:(par_id3153078.57)

Output: Function name as seen by the user, as it appears in the Function Wizard. May contain umlauts.
出力: ユーザーから見た関数名。つまり、関数ウィザード で表示される関数名。ウムラウトも使用できます。(par_id3155261.58)

The pFuncName and pInternalName parameters are char arrays, which are implemented with size 256 in Office Calc.
パラメータ pFuncName と pInternalName は、Office Calc でサイズ 256 を実装した char Array です。(par_id3153327.59)

GetParameterDescription()
GetParameterDescription()(hd_id3148567.60)

Provides a brief description of the Add-In function and its parameters. As an option, this function can be used to show a function and parameter description in the Function Wizard.
アドイン関数とそのパラメータについての簡単な説明を提供します。この関数は 関数ウィザード で関数とパラメータの説明を表示するのにも使用できます。(par_id3153000.61)

Syntax
構文(par_id3154501.62)

void CALLTYPE GetParameterDescription(USHORT& nNo, USHORT& nParam, char* pName, char* pDesc)
void CALLTYPE GetParameterDescription(USHORT& nNo, USHORT& nParam, char* pName, char* pDesc)(par_id3153564.63)

Parameter
パラメータ(par_id3157995.64)

USHORT& nNo:
USHORT& nNo:(par_id3155925.65)

Input: Number of the function in the library; between 0 and nCount-1.
インプット: ライブラリ内の関数番号 (0 から nCount-1 まで) (par_id3149883.66)

USHORT& nParam:
USHORT& nParam(par_id3154326.67)

Input: Indicates, for which parameter the description is provided; parameters start at 1. If nParam is 0, the description itself is supposed to be provided in pDesc; in this case, pName does not have any meaning.
インプット: 説明を付けるパラメータを表示します。パラメータは 1 で始まります。nParam が 0 の場合、関数自体の説明が pDesc に必要で、この場合 pName は使用しません。(par_id3159139.68)

char* pName:
char* pName:(par_id3147374.69)

Output: Takes up the parameter name or type, for example, the word "Number" or "String" or "Date", and so on. Implemented in Office Calc as char[256].
アウトプット: たとえば、「数字」、「文字列」、「日付」といった名前やパラメータの種類を取り入れます。Office Calc は char[256] として実装します。(par_id3145245.70)

char* pDesc:
char* pDesc:(par_id3151020.71)

Output: Takes up the description of the parameter, for example, "Value, at which the universe is to be calculated." Implemented in Office Calc as char[256].
アウトプット: たとえば、「宇宙を計算する値」のような、パラメータの説明を取り入れます。Office Calc は char[256] として実装します。(par_id3148389.72)

pName and pDesc are char arrays; implemented in Office Calc with size 256. Please note that the space available in the Function Wizard is limited and that the 256 characters cannot be fully used.
pName と pDesc は char 型の配列です。Office Calc はサイズ 256 で実装します。なお、関数ウィザード で使用できる空間は限られており、256 文字すべてを使用できるわけではないので注意が必要です。(par_id3145303.73)

Cell areas
セル範囲(hd_id3148874.76)

The following tables contain information about which data structures must be provided by an external program module in order to pass cell areas. Office Calc distinguishes between three different arrays, depending on the data type.
次の表は、セル参照を入力するために、データ構造が必要とする外部プログラムモジュールを表しています。Office Calc は、データの型によってセル範囲を3種に分類します。(par_id3150265.77)

Double Array
Double 配列(hd_id3156060.78)

As a parameter, a cell area with values of the Number/Double type can be passed. A double array in Office Calc is defined as follows:
パラメータに、数値/Double 型の値を含むセル範囲が指定できます。Office Calc では、Double 配列は次のように定義されています:(par_id3149540.79)

Offset
オフセット(par_id3149388.80)

Name
名前(par_id3154636.81)

Description
説明(par_id3153228.82)

0
0(par_id3150685.83)

Col1
Col1(par_id3154869.84)

Column number in the upper-left corner of the cell area. Numbering starts at 0.
セル範囲の左上端の列番号。0 から数え始めます。(par_id3147541.85)

2
2(par_id3149783.86)

Row1
Row1(par_id3155986.87)

Row number in the upper-left corner of the cell area; numbering starts at 0.
セル範囲の左上端の行番号。0 から数え始めます。(par_id3147483.88)

4
4(par_id3153721.89)

Tab1
Tab1(par_id3154317.90)

Table number in the upper-left corner of the cell area; numbering starts at 0.
セル範囲の左上端の表番号。0 から数え始めます。(par_id3149820.91)

6
6(par_id3163820.92)

Col2
Col2(par_id3149710.93)

Column number in the lower-right corner of the cell area. Numbering starts at 0.
セル範囲の右下端の列番号。0 から数え始めます。(par_id3154819.94)

8
8(par_id3145083.95)

Row2
Row2(par_id3156310.96)

Row number in the lower-right corner of the cell area; numbering starts at 0.
セル範囲の右下端の行番号。0 から数え始めます。(par_id3150968.97)

10
10(par_id3156133.98)

Tab2
Tab2(par_id3153218.99)

Table number in the lower-right corner of the cell area; numbering starts at 0.
セル範囲の右下端の表番号。0 から数え始めます。(par_id3147086.100)

12
12(par_id3151270.101)

Count
Count(par_id3152934.102)

Number of the following elements. Empty cells are not counted or passed.
次の要素の個数。空白のセルは数えられず、引き渡されません。(par_id3145202.103)

14
14(par_id3150879.104)

Col
Col(par_id3156002.105)

Column number of the element. Numbering starts at 0.
要素の列番号。0 から数え始めます。(par_id3147276.106)

16
16(par_id3151295.107)

Row
Row(par_id3150261.108)

Row number of the element; numbering starts at 0.
要素の行番号。0 から数え始めます。(par_id3155851.109)

18
18(par_id3153150.110)

Tab
Tab(par_id3153758.111)

Table number of the element; numbering starts at 0.
要素の表番号。0 から数え始めます。(par_id3150154.112)

20
20(par_id3149289.113)

Error
Error(par_id3156010.114)

Error number, where the value 0 is defined as "no error." If the element comes from a formula cell the error value is determined by the formula.
エラー番号。値 0 は「エラーなし」のために設定されています。該当要素が数式セルにある場合、エラー値は数式によって決まります。(par_id3159181.115)

22
22(par_id3147493.116)

Value
Value(par_id3149200.117)

8 byte IEEE variable of type double/floating point
種類がダブル/浮動小数点の8バイト IEEE 変数(par_id3151174.118)

30
30(par_id3154688.119)

...
...(par_id3159337.120)

Next element
次の要素(par_id3155388.121)


String Array
String 配列(hd_id3154935.122)

A cell area, which contains values of data type Text and is passed as a string array. A string array in Office Calc is defined as follows:
データの型が文字列であるセル範囲は、String 配列として指定されます。Office Calc では、String 配列を次のように定義しています。(par_id3153105.123)

Offset
オフセット(par_id3149908.124)

Name
名前(par_id3159165.125)

Description
説明(par_id3159150.126)

0
0(par_id3149769.127)

Col1
Col1(par_id3150509.128)

Column number in the upper-left corner of the cell area. Numbering starts at 0.
セル範囲の左上端の列番号。0 から数え始めます。(par_id3148447.129)

2
2(par_id3145418.130)

Row1
Row1(par_id3147512.131)

Row number in the upper-left corner of the cell area; numbering starts at 0.
セル範囲の左上端の行番号。0 から数え始めます。(par_id3147235.132)

4
4(par_id3155362.133)

Tab1
Tab1(par_id3151051.134)

Table number in the upper-left corner of the cell area; numbering starts at 0.
セル範囲の左上端の表番号。0 から数え始めます。(par_id3148923.135)

6
6(par_id3149158.136)

Col2
Col2(par_id3166437.137)

Column number in the lower-right corner of the cell area. Numbering starts at 0.
セル範囲の右下端の列番号。0 から数え始めます。(par_id3149788.138)

8
8(par_id3166450.139)

Row2
Row2(par_id3152877.140)

Row number in the lower-right corner of the cell area; numbering starts at 0.
セル範囲の右下端の行番号。0 から数え始めます。(par_id3152949.141)

10
10(par_id3159270.142)

Tab2
Tab2(par_id3154107.143)

Table number in the lower-right corner of the cell area; numbering starts at 0.
セル範囲の右下端の表番号。0 から数え始めます。(par_id3153747.144)

12
12(par_id3149924.145)

Count
Count(par_id3154858.146)

Number of the following elements. Empty cells are not counted or passed.
次の要素の個数。空白のセルは数えられず、引き渡されません。(par_id3148621.147)

14
14(par_id3148467.148)

Col
Col(par_id3151126.149)

Column number of the element. Numbering starts at 0.
要素の列番号。0 から数え始めます。(par_id3154334.150)

16
16(par_id3149416.151)

Row
Row(par_id3150631.152)

Row number of the element; numbering starts at 0.
要素の行番号。0 から数え始めます。(par_id3150424.153)

18
18(par_id3154797.154)

Tab
Tab(par_id3143274.155)

Table number of the element; numbering starts at 0.
要素の表番号。0 から数え始めます。(par_id3149513.156)

20
20(par_id3145306.157)

Error
Error(par_id3153948.158)

Error number, where the value 0 is defined as "no error." If the element comes from a formula cell the error value is determined by the formula.
エラー番号。値 0 は「エラーなし」のために設定されています。該当要素が数式セルにある場合、エラー値は数式によって決まります。(par_id3153534.159)

22
22(par_id3153311.160)

Len
Len(par_id3148695.161)

Length of the following string, including closing zero byte. If the length including closing zero byte equals an odd value a second zero byte is added to the string so that an even value is achieved. Therefore, Len is calculated using ((StrLen+2)&~1).
次の文字列の長さ (最後の0バイトを含む) 。文字列の最後の0バイトを含めた長さが奇数値になった場合は、偶数値になるように0バイトがもう1つ追加されます。そのため、Len は ((StrLen+2)&~1) で計算されます。(par_id3152769.162)

24
24(par_id3153772.163)

String
String(par_id3153702.164)

String with closing zero byte
最後に0バイトが付いた文字列(par_id3154474.165)

24+Len
24+Len(par_id3156269.166)

...
...(par_id3154825.167)

Next element
次の要素(par_id3147097.168)


Cell Array
セル配列(hd_id3159091.169)

Cell arrays are used to call cell areas containing text as well as numbers. A cell array in Office Calc is defined as follows:
セル配列を使用すると、テキストと数値を含むセル範囲を呼び出すことができます。Office Calc のセル配列は次のように定義されています。(par_id3156140.170)

Offset
オフセット(par_id3154664.171)

Name
名前(par_id3154566.172)

Description
説明(par_id3146073.173)

0
0(par_id3154117.174)

Col1
Col1(par_id3150988.175)

Column number in the upper-left corner of the cell area. Numbering starts at 0.
セル範囲の左上端の列番号。0 から数え始めます。(par_id3146783.176)

2
2(par_id3153666.177)

Row1
Row1(par_id3149560.178)

Row number in the upper-left corner of the cell area; numbering starts at 0.
セル範囲の左上端の行番号。0 から数え始めます。(par_id3156156.179)

4
4(par_id3150408.180)

Tab1
Tab1(par_id3150593.181)

Table number in the upper-left corner of the cell area; numbering starts at 0.
セル範囲の左上端の表番号。0 から数え始めます。(par_id3150357.182)

6
6(par_id3146912.183)

Col2
Col2(par_id3153352.184)

Column number in the lower-right corner of the cell area. Numbering starts at 0.
セル範囲の右下端の列番号。0 から数え始めます。(par_id3155893.185)

8
8(par_id3150827.186)

Row2
Row2(par_id3148406.187)

Row number in the lower-right corner of the cell area; numbering starts at 0.
セル範囲の右下端の行番号。0 から数え始めます。(par_id3150673.188)

10
10(par_id3155864.189)

Tab2
Tab2(par_id3153197.190)

Table number in the lower-right corner of the cell area; numbering starts at 0.
セル範囲の右下端の表番号。0 から数え始めます。(par_id3149329.191)

12
12(par_id3147360.192)

Count
Count(par_id3154520.193)

Number of the following elements. Empty cells are not counted or passed.
次の要素の個数。空白のセルは数えられず、引き渡されません。(par_id3150647.194)

14
14(par_id3149747.195)

Col
Col(par_id3147579.196)

Column number of the element. Numbering starts at 0.
要素の列番号。0 から数え始めます。(par_id3154188.197)

16
16(par_id3159209.198)

Row
Row(par_id3153265.199)

Row number of the element; numbering starts at 0.
要素の行番号。0 から数え始めます。(par_id3150095.200)

18
18(par_id3151276.201)

Tab
Tab(par_id3149177.202)

Table number of the element; numbering starts at 0.
要素の表番号。0 から数え始めます。(par_id3146925.203)

20
20(par_id3150488.204)

Error
Error(par_id3149441.205)

Error number, where the value 0 is defined as "no error." If the element comes from a formula cell the error value is determined by the formula.
エラー番号。値 0 は「エラーなし」のために設定されています。該当要素が数式セルにある場合、エラー値は数式によって決まります。(par_id3156048.206)

22
22(par_id3163813.207)

Type
Type(par_id3159102.208)

Type of cell content, 0 == Double, 1 == String
セル内容の型、0 ==Double, 1 ==String(par_id3149581.209)

24
24(par_id3155182.210)

Value or Len
Value or Len(par_id3153291.211)

If type == 0: 8 byte IEEE variable of type double/floating point
Type ==0 の場合: ダブル/浮動小数点型の8バイト IEEE 変数(par_id3148560.212)

If type == 1: Length of the following string, including closing zero byte. If the length including closing zero byte equals an odd value a second zero byte is added to the string so that an even value is achieved. Therefore, Len is calculated using ((StrLen+2)&~1).
Type ==1 の場合: 次の文字列の長さ (最後の0バイトを含む) 。文字列の最後の0バイトを含めた長さが奇数値になった場合は、偶数値になるように0バイトがもう1つ追加されます。そのため、Len は ((StrLen+2)&~1) で計算されます。(par_id3148901.213)

26 if type==1
26 if Type==1(par_id3145215.214)

String
String(par_id3155143.215)

If type == 1: String with closing zero byte
Type ==1 の場合: 最後に0バイトが付いた文字列(par_id3149298.216)

32 or 26+Len
32 or 26+Len(par_id3151322.217)

...
...(par_id3163722.218)

Next element
次の要素(par_id3151059.219)



< Prev / Next >